package com.example.demo.service;

import com.example.demo.dto.dictionary.DictionaryDto;
import com.example.demo.entity.Dictionary;
import com.example.demo.utils.result.Result;

import java.util.List;
import java.util.Optional;

public interface IDictionaryService {
    Optional<List<Dictionary>> selectListByParentId(Integer parentId);

    Optional<Dictionary> selectOneByKey(Integer key);
}
